package com.oreilly.ez.service;


import com.google.common.eventbus.Subscribe;
import com.oreilly.ez.base.SysEventListener;
import com.oreilly.ez.vo.Mail;
import org.springframework.stereotype.Component;

@Component
public class MailEventListener implements SysEventListener<Mail> {

    @Subscribe
    public void onEvent(Mail event){
        System.out.println(" mail receive msg:" + event);
    }
}
